package DATA;

public class Book {
    private int id;
    private String bookName;
    private String bookType;
    private  int recommend;
    private String author;

    public Book() {
    }

    public Book(int id, String bookName, String bookType, int recommend, String author) {
        this.id = id;
        this.bookName = bookName;
        this.bookType = bookType;
        this.recommend = recommend;
        this.author = author;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookType() {
        return bookType;
    }

    public void setBookType(String bookType) {
        this.bookType = bookType;
    }

    public int getRecommend() {
        return recommend;
    }

    public void setRecommend(int recommend) {
        this.recommend = recommend;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
}
